package com.milk.service;

import com.milk.dto.CommonPageQueryDTO;
import com.milk.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.milk.result.PageResult;

import java.util.List;

/**
 * <p>
 * 奶茶分类 服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface ICategoryService extends IService<Category> {

    List<Category> selectALl();

    PageResult pageQuery(CommonPageQueryDTO dto);

    void insertCategory(Category category);

    void deleteByIds(List<Long> ids);

    void updateCategory(Category category);
}
